<style>
    #question label {
        margin-bottom: 0;
    }
    .widget {
        background: none repeat scroll 0 0 #F5F5F5;
    }   
    textarea {
        max-height: 130px;
        min-height: 130px;
    }
    select{
        height: 27px;
        line-height: 27px;
        width: 267px !important;
        margin-top: 0 !important
    }
    #question{
        padding: 0
    }
</style>
<div class="box section agency">

    <div class="title"><h1>User review</h1></div>

    <div class="cont clearfix">

        <p>Dear <b><?= $reservation->passenger->name . ' ' . $reservation->passenger->surname; ?></b>,<br><br> Please give us valuable feedback about accommodation <b><?= $reservation->object_name ?></b> that we arenged for you.<br><br><p>

        <div id="" class="fix">

            <form action="<?= lang_url('subit_review_form') ?>" method="GET" id="reviewForm">

                <input type="hidden" name="object_ID" value="<?= $reservation->object_ID ?>" />

                <div id="question" class="tabdiv clearfix" >

                    <div id="question_form">

                        <div class="clearfix">

                            <div class="col-exc">

                                <label><?= lang('name'); ?>:</label>
                                <input type="text" placeholder="<?= lang('name') ?>" name='f_name' id='name' required value="<?= $reservation->passenger->name; ?>">
                            </div>

                            <div class="col-exc pad-left">
                                <label><?= lang('surname'); ?>:</label>
                                <input type="text" placeholder="<?= lang('surname') ?>" name='l_name' id='surname' required value="<?= $reservation->passenger->surname; ?>">
                            </div>

                        </div>
                        <div class="clearfix">

                            <div class="col-exc">

                                <label>Score:</label>
                                <select  name="score" id="" required>
                                    <option value="">- Please select score</option>
                                    <? for ($i = 5; $i <= 10.00; $i+=0.1): ?>
                                    <option value="<?= number_format($i, 1) ?>"><?= lang((string) number_format($i, 1)) ?>, <?= number_format($i, 1) ?></option>
                                    <? endfor; ?>
                                </select>
                            </div>

                        </div>


                        <div class="clearfix">

                            <label><?= lang('note'); ?>:</label>
                            <textarea cols="33" rows="8" name='comments' id='note' required></textarea>

                        </div>

                        <div class="clearfix">
                            <button class="button" type="submit">Send</button>
                        </div>

                    </div>

                </div><!--question_tab-->

            </form>

        </div>

    </div>

</div>